/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.plechinger.mcremote.data;

import java.io.Serializable;

/**
 *
 * @author Lukas
 */
public class Status implements Serializable{
    private static long serialVersionUID = 1L;
    
    private boolean serverOn;
    private int countWarnings;
    private int countErrors;
    private int countPlayers;
    private long time;

    public Status(boolean serverOn, int countWarnings, int countErrors, int countPlayers, long time) {
        this.serverOn = serverOn;
        this.countWarnings = countWarnings;
        this.countErrors = countErrors;
        this.countPlayers = countPlayers;
        this.time = time;
    }

    public int getCountErrors() {
        return countErrors;
    }

    public int getCountPlayers() {
        return countPlayers;
    }

    public int getCountWarnings() {
        return countWarnings;
    }

    public boolean isServerOn() {
        return serverOn;
    }

    public long getTime() {
        return time;
    }

    
}
